package Bean;

import java.math.BigDecimal;

public class Order {
    /*
   create table Orders(
    orderNumber varchar(32) primary key,
    datetime TIMESTAMP default now(),
    furnId int unsigned,
    sumPrice decimal(11,2) not null ,
    statue varchar(32) not null default '未发货'
);
     */
    private String orderNumber;
    private String datetime;
    private Integer userId;
    private BigDecimal sumPrice;
    private String statue;
    private String keyWord;
    private String PageNo;
    public Order(){

    }

    public Order(String orderNumber, String datetime, Integer userId, BigDecimal sumPrice, String statue, String keyWord, String pageNo) {
        this.orderNumber = orderNumber;
        this.datetime = datetime;
        this.userId = userId;
        this.sumPrice = sumPrice;
        this.statue = statue;
        this.keyWord = keyWord;
        PageNo = pageNo;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getStatue() {
        return statue;
    }

    public void setStatue(String statue) {
        this.statue = statue;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getPageNo() {
        return PageNo;
    }

    public void setPageNo(String pageNo) {
        PageNo = pageNo;
    }
}
